Class com.symantec.itools.util.Properties
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.symantec.itools.util.Properties

Object
   |
   +----Dictionary
           |
           +----Hashtable
                   |
                   +----Properties
                           |
                           +----com.symantec.itools.util.Properties

public class Properties
extends Properties

Version:
1.0
Author:
Symantec Internet Tools Division
Since:
VCafe 3.0

Variable Index

 o INDENT
 o extendedPropertiesFileFormat
 o fileName
 o saveChanges
 o saved

Constructor Index

 o com.symantec.itools.util.Properties()
 o com.symantec.itools.util.Properties(String)
 o com.symantec.itools.util.Properties(URL)
 o com.symantec.itools.util.Properties(InputStream)
 o com.symantec.itools.util.Properties(Properties)
 o com.symantec.itools.util.Properties(String[][])

Method Index

 o finalize()
 o fixup(String)
 o getBoolean(String)
 o getBoolean(String, boolean)
 o getClass(String)
 o getDouble(String)
 o getDouble(String, double)
 o getExtendedPropertiesFileFormat()
 o getFileName()
 o getFloat(String)
 o getFloat(String, float)
 o getInteger(String)
 o getInteger(String, int)
 o getLong(String)
 o getLong(String, long)
 o getNewInstanceOfClass(String)
 o getNewInstanceOfClass(String, Class[], Object[])
 o getProperties(String)
 o getPropertiesList(String)
 o getString(String)
 o getString(String, String)
 o getStringList(String)
 o getStringList(String, String[])
 o isSaveChanges()
 o load(Properties)
 o load(String[][])
 o load(InputStream)
 o put(Object, Object)
 o readKey(PushbackReader, LineNumberReader)
 o readListValue(PushbackReader, LineNumberReader, int)
 o readPropertiesValue(PushbackReader, LineNumberReader, int, int)
 o readStringValue(PushbackReader, LineNumberReader, int, int)
 o readValue(PushbackReader, LineNumberReader, int)
 o replace(String, String, String)
 o save(String)
 o save(OutputStream)
 o save(OutputStream, String)
 o set(String, String)
 o set(String, boolean)
 o set(String, int)
 o set(String, float)
 o set(String, long)
 o set(String, double)
 o set(String, Class)
 o set(String, Properties)
 o set(String, String[])
 o set(String, Properties[])
 o setExtendedPropertiesFileFormat(boolean)
 o setFileName(String)
 o setSaveChanges(boolean)
 o skipWhitespace(PushbackReader, LineNumberReader)
 o toString()
 o toString(String)
 o toString(String, String)

Variables

 o INDENT
protected static final java.lang.String INDENT

Since: VCafe 3.0
 o extendedPropertiesFileFormat
protected boolean extendedPropertiesFileFormat

Since: VCafe 3.0
 o fileName
protected java.lang.String fileName

Since: VCafe 3.0
 o saveChanges
protected boolean saveChanges

Since: VCafe 3.0
 o saved
protected boolean saved

Since: VCafe 3.0

Constructors

 o Properties
public Properties()
 o Properties
public Properties(String name) throws IOException
 o Properties
public Properties(URL url) throws IOException
 o Properties
public Properties(InputStream stream) throws IOException
 o Properties
public Properties(Properties properties)
 o Properties
public Properties(String[][] data)

Methods

 o finalize
public void finalize() throws Throwable

Throws: Throwable
Overrides:
finalize in class Object
Since:
VCafe 3.0
 o fixup
protected static java.lang.String fixup(String s)

Parameters:
s - TODO
Since:
VCafe 3.0
 o getBoolean
public boolean getBoolean(String key)

Parameters:
key - TODO
Since:
VCafe 3.0
 o getBoolean
public boolean getBoolean(String key,
                          boolean defaultValue)

Parameters:
key - TODO
defaultValue - TODO
Since:
VCafe 3.0
 o getClass
public java.lang.Class getClass(String key) throws ClassNotFoundException, KeyNotFoundException

Parameters:
key - TODO
Throws: ClassNotFoundException
Since:
VCafe 3.0
 o getDouble
public double getDouble(String key)

Parameters:
key - TODO
Since:
VCafe 3.0
 o getDouble
public double getDouble(String key,
                        double defaultValue)

Parameters:
key - TODO
defaultValue - TODO
Since:
VCafe 3.0
 o getExtendedPropertiesFileFormat
public boolean getExtendedPropertiesFileFormat()

Since:
VCafe 3.0
 o getFileName
public java.lang.String getFileName()

Since:
VCafe 3.0
 o getFloat
public float getFloat(String key)

Parameters:
key - TODO
Since:
VCafe 3.0
 o getFloat
public float getFloat(String key,
                      float defaultValue)

Parameters:
key - TODO
defaultValue - TODO
Since:
VCafe 3.0
 o getInteger
public int getInteger(String key)

Parameters:
key - TODO
Since:
VCafe 3.0
 o getInteger
public int getInteger(String key,
                      int defaultValue)

Parameters:
key - TODO
defaultValue - TODO
Since:
VCafe 3.0
 o getLong
public long getLong(String key)

Parameters:
key - TODO
Since:
VCafe 3.0
 o getLong
public long getLong(String key,
                    long defaultValue)

Parameters:
key - TODO
defaultValue - TODO
Since:
VCafe 3.0
 o getNewInstanceOfClass
public java.lang.Object getNewInstanceOfClass(String key) throws DynamicClassException

Parameters:
key - TODO
Throws: DynamicClassException
Since:
VCafe 3.0
 o getNewInstanceOfClass
public java.lang.Object getNewInstanceOfClass(String key,
                                              Class[] argTypes,
                                              Object[] args) throws DynamicClassException

Parameters:
key - TODO
argTypes - TODO
args - TODO
Throws: DynamicClassException
Since:
VCafe 3.0
 o getProperties
public com.symantec.itools.util.Properties getProperties(String key)

Parameters:
key - TODO
Since:
VCafe 3.0
 o getPropertiesList
public com.symantec.itools.util.Properties[] getPropertiesList(String key)

Parameters:
key - TODO
Since:
VCafe 3.0
 o getString
public java.lang.String getString(String key)

Parameters:
key - TODO
Since:
VCafe 3.0
 o getString
public java.lang.String getString(String key,
                                  String defaultValue)

Parameters:
key - TODO
defaultValue - TODO
Since:
VCafe 3.0
 o getStringList
public java.lang.String[] getStringList(String key)

Parameters:
key - TODO
Since:
VCafe 3.0
 o getStringList
public java.lang.String[] getStringList(String key,
                                        String[] defaultValue)

Parameters:
key - TODO
defaultValue - TODO
Since:
VCafe 3.0
 o isSaveChanges
public boolean isSaveChanges()

Since:
VCafe 3.0
 o load
public void load(Properties properties)

Parameters:
properties - TODO
Since:
VCafe 3.0
 o load
public void load(String[][] data)

Parameters:
data - TODO
Since:
VCafe 3.0
 o load
public synchronized void load(InputStream in) throws IOException

Parameters:
in - TODO
Throws: IOException
Overrides:
load in class Properties
Since:
VCafe 3.0
 o put
public java.lang.Object put(Object key,
                            Object value)

Parameters:
key - TODO
value - TODO
Overrides:
put in class Hashtable
Since:
VCafe 3.0
 o readKey
protected java.lang.String readKey(PushbackReader reader,
                                   LineNumberReader lineReader) throws IOException

Parameters:
reader - TODO
lineReader - TODO
Throws: IOException
Since:
VCafe 3.0
 o readListValue
protected java.lang.Object[] readListValue(PushbackReader reader,
                                           LineNumberReader lineReader,
                                           int expectedTermination) throws IOException

Parameters:
reader - TODO
lineReader - TODO
expectedTermination - TODO
Throws: IOException
Since:
VCafe 3.0
 o readPropertiesValue
protected com.symantec.itools.util.Properties readPropertiesValue(PushbackReader reader,
                                                                  LineNumberReader lineReader,
                                                                  int expectedTermination1,
                                                                  int expectedTermination2) throws IOException

Parameters:
reader - TODO
lineReader - TODO
expectedTermination1 - TODO
expectedTermination2 - TODO
Throws: IOException
Since:
VCafe 3.0
 o readStringValue
protected java.lang.String readStringValue(PushbackReader reader,
                                           LineNumberReader lineReader,
                                           int expectedTermination1,
                                           int expectedTermination2) throws IOException

Parameters:
reader - TODO
lineReader - TODO
expectedTermination1 - TODO
expectedTermination2 - TODO
Throws: IOException
Since:
VCafe 3.0
 o readValue
protected java.lang.Object readValue(PushbackReader reader,
                                     LineNumberReader lineReader,
                                     int expectedTermination) throws IOException

Parameters:
reader - TODO
lineReader - TODO
expectedTermination - TODO
Throws: IOException
Since:
VCafe 3.0
 o replace
protected static java.lang.String replace(String s,
                                          String sOld,
                                          String sNew)

Parameters:
s - TODO
sOld - TODO
sNew - TODO
Since:
VCafe 3.0
 o save
public synchronized void save(String name) throws IOException

Parameters:
name - TODO
Throws: IOException
Since:
VCafe 3.0
 o save
public synchronized void save(OutputStream stream)

Parameters:
stream - TODO
Since:
VCafe 3.0
 o save
public void save(OutputStream stream,
                 String header)

Parameters:
stream - TODO
header - TODO
Overrides:
save in class Properties
Since:
VCafe 3.0
 o set
public void set(String key,
                String value)

Parameters:
key - TODO
value - TODO
Since:
VCafe 3.0
 o set
public void set(String key,
                boolean f)

Parameters:
key - TODO
f - TODO
Since:
VCafe 3.0
 o set
public void set(String key,
                int i)

Parameters:
key - TODO
i - TODO
Since:
VCafe 3.0
 o set
public void set(String key,
                float f)

Parameters:
key - TODO
f - TODO
Since:
VCafe 3.0
 o set
public void set(String key,
                long l)

Parameters:
key - TODO
l - TODO
Since:
VCafe 3.0
 o set
public void set(String key,
                double d)

Parameters:
key - TODO
d - TODO
Since:
VCafe 3.0
 o set
public void set(String key,
                Class clazz)

Parameters:
key - TODO
clazz - TODO
Since:
VCafe 3.0
 o set
public void set(String key,
                Properties value)

Parameters:
key - TODO
value - TODO
Since:
VCafe 3.0
 o set
public void set(String key,
                String[] value)

Parameters:
key - TODO
value - TODO
Since:
VCafe 3.0
 o set
public void set(String key,
                Properties[] value)

Parameters:
key - TODO
value - TODO
Since:
VCafe 3.0
 o setExtendedPropertiesFileFormat
public void setExtendedPropertiesFileFormat(boolean f)

Parameters:
f - TODO
Since:
VCafe 3.0
 o setFileName
public void setFileName(String name)

Parameters:
name - TODO
Since:
VCafe 3.0
 o setSaveChanges
public void setSaveChanges(boolean f)

Parameters:
f - TODO
Since:
VCafe 3.0
 o skipWhitespace
protected java.lang.String skipWhitespace(PushbackReader reader,
                                          LineNumberReader lineReader) throws IOException

Parameters:
reader - TODO
lineReader - TODO
Throws: IOException
Since:
VCafe 3.0
 o toString
public java.lang.String toString()

Overrides:
toString in class Hashtable
Since:
VCafe 3.0
 o toString
protected java.lang.StringBuffer toString(String indentation)

Parameters:
indentation - TODO
Since:
VCafe 3.0
 o toString
protected java.lang.StringBuffer toString(String key,
                                          String indentation)

All Packages  Class Hierarchy  This Package  Previous  Next  Index